<!--{template common/header_simple_start}-->
<link rel="stylesheet" type="text/css" href="static/lyear/js/bootstrap-lyear-select/bootstrap-lyear-select.css?{VERHASH}">
<style>
	input[type="text"] {
		margin: 0;
	}
	.overflow-auto{
		max-height: 80px;
	}
	.lie{
		min-width: 130px
	}
</style>
<!--{template common/header_simple_end}-->
<!--{template common/commer_header}-->
<div class="bs-container clearfix">
	<div class="bs-left-container  clearfix">
		<!--{template left}--> 
	</div>
	<div class="left-drager">
	</div>
	<div class="bs-main-container  clearfix">
		<div class="main-header clearfix" style="border-bottom:1px solid #e1e1e1">
			<ul class="nav nav-pills">
				<!--{loop $systemlog_setting $mark $info}-->
					<!--{if $info[is_open]==1 }-->
					<li class="nav-item">
						<a hidefocus="true" class="nav-link <!--{if $operation==$mark }-->active<!--{/if}-->" href="{MOD_URL}&type=list&operation=$mark">{$info['title']}</a>
					</li>
					<!--{/if}-->
				<!--{/loop}-->  
			</ul>
		</div>
		<div class="main-content"> 
			<form id="cpform" action="{MOD_URL}&type=list&operation=$operation" class="form-horizontal form-horizontal-left" method="post" name="cpform">
				<input type="hidden" value="{FORMHASH}" name="formhash">
				<input type="hidden" name="lpp" value="$lpp">
				<input type="hidden" name="keyword" value="$keyword">
				<table class="table table-hover">
					<thead>
						<th class="lie">{lang operator}</th>
						<th class="lie">{lang usergroup}</th>
						<th class="lie">{lang ip}</th>
						<th class="lie">{lang time}</th>
						<th class="lie">{lang info}</th>
					</thead>
					<!--{if $list}-->
						<!--{loop $list $key $log}-->
						<tr>
							<td>$log[2]</td>
							<td>$log[3]</td>
							<td>$log[4]</td>
							<td>$log[1]</td>
							<td>
								<a href="javascript:;" onclick="togglecplog('{$key}')"><div class="overflow-auto">{eval echo cutstr($log[5], 200)}</div></a>
							</td>
						</tr>
						<thead id="cplog_{$key}" style="display:none">
							<td colspan="10">
								{lang loginfo}：<strong><code>$log[5]</code></strong>
								<br/>{lang visit}：<strong><code>$log[6]</code></strong>
								<br/>{lang from}：<strong><code>$log[7]</code></strong>
                <br/>{lang Equipment information}：<strong><code>$log[8]</code></strong></td>
						</thead>
						<!--{/loop}-->
						<tr>
							<td colspan="15">
								<div class="pull-left input-group" style="width:130px;">
									<span class="col-form-label">{lang logs_lpp}</span>
									<select class="form-select" style="margin:0;width:60px;" onchange="if(this.options[this.selectedIndex].value != '') {this.form.lpp.value = this.options[this.selectedIndex].value;this.form.submit(); }">
										<option value="10" $checklpp[10]> 10 </option>
										<option value="20" $checklpp[20]> 20 </option>
										<option value="40" $checklpp[40]> 40 </option>
										<option value="80" $checklpp[80]> 80 </option>
									</select>
								</div>
								$multipage
							</td>
						</tr>
					<!--{else}-->
						<tr>
							<td colspan="5">{lang there_no_such_results}</td>
						</tr>
					<!--{/if}--> 
				</table>
			</form>
			<script type="text/javascript">
				jQuery(document).ready(function (e) {
          jQuery('select').lyearSelect({
						width:70,
					});
				});
				function togglecplog(k) {
					var cplogobj = document.getElementById('cplog_' + k);
					if(cplogobj.style.display == 'none') {
						cplogobj.style.display = '';
					} else {
						cplogobj.style.display = 'none';
					}
				}
			</script> 
		</div>
	</div>
</div>
<script type="text/javascript" src="static/lyear/js/bootstrap-lyear-select/bootstrap-lyear-select.js?{VERHASH}"></script>
<!--{template common/footer_simple}-->